package cn.exrick.xboot.modules.warning.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_warning")
@TableName("t_warning")
@ApiModel(value = "预警接口")
public class Warning extends XbootBaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "部门")
    private String department;
    @ApiModelProperty(value = "单点url")
    private String url;
    @ApiModelProperty(value = "备注")
    private String description;
    @ApiModelProperty(value = "单点的请求访问链接")
    private String subUrl;


 /**
 * xbw
 * 增加预警推送相应字段
 */
    @ApiModelProperty(value = "推送源系统模块名称")
    private String moduleName;
    @ApiModelProperty(value = "消息ID")
    private String infoId;
    @ApiModelProperty(value = "用户标识（身份证/手机号）")
    private String userCode;
    @ApiModelProperty(value = "预警标题")
    private String title;


}